<div ng-include="'web/include/header_menu.html'"></div>
<div class="content row">
    <div class="my-main">
      <!--右侧表格-->
        <div class="right-main">
            <input ng-model="fatherid" type="hidden" placeholder="fatherid" />
            <div class="lf col-sm-12 groupBtn">
                <button type="button" class="btn btn-info" ng-click="openUpload()" zg-access="filemanager/upload">上传</button>
                <button type="button" class="btn btn-info" ng-click="newFolder()" zg-access="filemanager/saveFolder">新建文件夹</button>
                <button type="button" class="btn btn-info" ng-click="deleteBatch()" zg-access="filemanager/batchDelete">批量删除</button>
            </div>
            <div class="lf col-sm-12 directory">
                <ul id="bread-crumbs">

                </ul>
            </div>
            <table cellpadding="0" cellspacing="0" border="0" class="dataTable table table-striped table-bordered" id="allfileTable" style="width:100%">
                <thead>
                    <tr>
                        <td style="width:50%">文件名称</td>
                        <td style="width:10%">大小</td>
                        <td style="width:15%">时间</td>
                        <td style="width:25%">操作</td>
                    </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
            <!--上传文件的弹框-->
            <div class="modal fade bd-example-modal-lg" id="uploadFile" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"  data-backdrop="static">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close" ng-click="reset()"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title">上传文件</h4>
                        </div>
                        <div class="modal-body" >
                            <div class="well">
                                <form action="" class="dropzone  ovy-a Scrollable w100p h172 mt24 p8 bg-w cu-po" dropzone="" id="dropzoneFile" enctype="multipart/form-data">
                                    <div class="dz-default dz-message">
                                        请将文件拖到此处或者点击此处上传文件！
                                    </div>
                                    <input ng-model="filepath" type="hidden" placeholder="filepath" />
                                </form>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <button type="reset" class="btn btn-danger" ng-click="reset()">重置</button>
                            <button type="button" class="btn btn-primary" ng-click="uploadFile()"  zg-access="filemanager/upload">上传</button>
                            <button type="button" class="btn btn-primary" ng-click="close()">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
            <!--确认删除文件的弹框-->
            <div class="modal fade bd-example-modal-sm" id="deleteSure" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"  data-backdrop="static">
                <div class="modal-dialog modal-sm">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title">删除文件</h4>
                        </div>
                        <div class="modal-body">
                            <p>您确认删除该文件吗？</p>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                            <button type="button" class="btn btn-primary" ng-click="sureDelete()">确定</button>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div ng-include="'web/include/footer.html'"></div>
